package com.sdl3.core;

import com.sdl3.render.PineaColor;
import com.sdl3.event.PineaEvent;
import com.sdl3.shape.PineaRect;
import com.sdl3.render.SDLPineaImage;
import com.sun.jna.Library;
import com.sun.jna.Pointer;

public interface PineaLib extends Library {

     void pineaInit(String title, int width, int height);
     void pineaQuit();
     void pineaShow();
     boolean pineaPollEvent(PineaEvent event);
     void pineaClear(PineaColor color) ;
     void pineaRender();
     void pineaFillRect(PineaRect rect, PineaColor color);
     void pineaLoadImage(String path, SDLPineaImage sdlPineaImage);
     void pineaDrawImage(Pointer imagePointer, PineaRect srcRect, PineaRect dstRect, double angle, int flip);
     void pineaDropImage(Pointer imagePointer);

}
